<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" %>
<%@ page import="ca.concordia.soen6461.wichf.controller.Event" %>
<%@ page import="ca.concordia.soen6461.wichf.entity.User" %>

  <table style="width: 100%; border-color: #F0F0F0; background-color: #CCCCCC">
    <tr>
      <th scope="col"><div align="center">
          <h1 align="center">Walk-in Clinics Hassle Free</h1>
        </div></th>
    </tr>
    <tr>
      <% 
        Event event = (Event) request.getAttribute("event");
        String name = event.getSession().get(User.class).getName();
      %>
      <td align="right">Welcome <%=name%> | <a  href="?event=logout">Log Out</a></td>
    </tr>
  </table>
